Major Feature Update (Interviews, GitHub Sync, & Analytics)#2
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR introduces three new features to enhance the job application workflow: AI-powered mock interviews for practice, GitHub repository syncing to auto-populate resume projects, and resume view analytics. The changes include new database tables, server actions with Groq integration, client components with speech recognition, and refactored UI pages. ChangesJob Application & Resume Enhancement
Sequence DiagramsequenceDiagram
actor User
participant MockInterviewPage
participant MockInterviewClient
participant generateMockInterviewQuestions
participant Groq as Groq API
participant DB as Database
participant evaluateMockInterviewAnswer
User->>MockInterviewPage: Navigate to /applications/{id}/interview
MockInterviewPage->>DB: Verify application ownership
MockInterviewPage->>DB: Check for existing mockInterview
MockInterviewPage->>MockInterviewClient: Mount with applicationId
User->>MockInterviewClient: Click "Start Mock Interview"
MockInterviewClient->>generateMockInterviewQuestions: Fetch job/resume context
generateMockInterviewQuestions->>DB: Query application, job, resume
generateMockInterviewQuestions->>Groq: Generate 5 interview questions
Groq-->>generateMockInterviewQuestions: Return JSON array
generateMockInterviewQuestions->>DB: Insert mockInterviews row
generateMockInterviewQuestions-->>MockInterviewClient: { interviewId, questions }
User->>MockInterviewClient: Answer question + click submit
MockInterviewClient->>evaluateMockInterviewAnswer: Send answer text
evaluateMockInterviewAnswer->>Groq: Score answer & generate feedback
Groq-->>evaluateMockInterviewAnswer: { feedback, score }
evaluateMockInterviewAnswer->>DB: Update answers array & status
evaluateMockInterviewAnswer-->>MockInterviewClient: { feedback, score }
MockInterviewClient->>User: Display score & AI feedback
User->>MockInterviewClient: Navigate to next question or complete
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This pull request brings several highly requested "Major Update" capabilities to the CV Builder platform, fulfilling Features 1 to 3 from our roadmap. It introduces standalone application tools for interview prep, a smart integration for auto-generating STAR achievements from GitHub, and a tracking system to give users analytics on their public resumes.
Features & Changes
1. Feature #1: AI Mock Interviews
Schema Updates: Added mockInterviews table to the database to track interviews and scores per job application.
Backend Actions: Added mock-interview.ts to coordinate with llama-3.3-70b for generating contextual job-specific questions, and evaluating user answers in real-time.
Interactive UI: Added mock-interview-client.tsx using the native Web Speech API to allow users to verbally dictate their answers to the AI.
Routing: Implemented /applications/[id]/interview/page.tsx for standalone interview sessions linked directly to tracked job applications.
2. Feature #2: GitHub Auto-Achievement Generator
Backend Actions: Added github-achievements.ts to securely fetch public user repositories from the GitHub API and generate targeted, STAR-method styled bullet points using Groq's LLM.
Resume Integration: Injected a GithubSyncModal component into the projects-form.tsx block, allowing users to effortlessly pull, adapt, and inject high-quality achievements straight into their resume drafts based on their open-source history.
3. Feature #3: Public Resume Analytics (The Recruiter Tracker)
Schema Updates: Added resumeViews table to DB to log unique sessions, durations, and geographical locations.
API Endpoints: Created /api/analytics/resume-view lightweight logging endpoint.
Analytics Component: Built ResumeAnalyticsTracker to passively log unique impressions using the native navigator.sendBeacon upon unmounting (view exit).
Public Route Injection: Dropped the passive tracker into the /r/[id]/page.tsx route to secretly monitor recruiters viewing users' tailored public links.
Testing & Checks
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
UI/UX Improvements